import "./style.scss"
import React from 'react';
import { Route,Switch } from "react-router-dom";
import Point from "../../cesiumjs/point";
import Line from "../../cesiumjs/line";
import PolyLine from "../../cesiumjs/polyline";
import CustomLayer from "../../cesiumjs/layers";
import PolyMerization from "../../cesiumjs/polymerization";
import Gltf from "../../cesiumjs/gltf";
import Moved from "../../cesiumjs/moved";
import OceanCurrent from "../../cesiumjs/oceanCurrent";
import Roller from "../../cesiumjs/roller";

export default function HeaderTool(){
    return (
        <Switch>
            <Route exact path="/Point" component={Point}/>
            <Route exact path="/Line" component={Line}/>
            <Route exact path="/PolyLine" component={PolyLine}/>
            <Route exact path="/CustomLayer" component={CustomLayer}/>
            <Route exact path="/PolyMerization" component={PolyMerization}/>
            <Route exact path="/Gltf" component={Gltf}/>
            <Route exact path="/Moved" component={Moved}/>
            <Route exact path="/OceanCurrent" component={OceanCurrent}/>
            <Route exact path="/Roller" component={Roller}/>
        </Switch>
    )
}